package com.baitiaojun.elasticsearch.api.impl;

import com.baitiaojun.api.domain.user.UserInfo;
import com.baitiaojun.elasticsearch.api.UserApi;
import com.baitiaojun.elasticsearch.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.annotations.ApiIgnore;

/**
 * @类名 UserApiImpl
 * @描述 TODO
 * @作者 白条君
 * @创建日期 2023/1/4 18:50
 * @版本 1.0
 */
@ApiIgnore
@RestController
public class UserApiImpl implements UserApi {

    @Autowired
    private UserService userService;

    @Override
    public void saveUserInfo(UserInfo userInfo) {
        userService.saveUserInfo(userInfo);
    }
}
